package pandabay2.domain;

import java.util.ArrayList;

//Data Encapsulation using Getters and Setters
public class Auction {
	private int auction_id;
    private String name;
    private String description;
    private Double startPrice;
	private int seller;
    private int highestBidder;
    private String category;
    private byte[] image;
    private ArrayList<Double> bids;
    private String startDate;
    private String endDate;
    private int highestBid;
    private int buyer;
    private String path;
    private int buyNow;
    
	public int isBuyNow() {
		return buyNow;
	}
	public void setBuyNow(int buyNow) {
		this.buyNow = buyNow;
	}
	public int getHighestBid() {
		return highestBid;
	}
	public void setHighestBid(int highestBid) {
		this.highestBid = highestBid;
	}
	public int getAuction_id() {
		return auction_id;
	}
	public void setAuction_id(int auction_id) {
		this.auction_id = auction_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Double getStartPrice() {
		return startPrice;
	}
	public void setStartPrice(Double startPrice) {
		this.startPrice = startPrice;
	}
	public int getSeller() {
		return seller;
	}
	public void setSeller(int seller) {
		this.seller = seller;
	}
	public int getHighestBidder() {
		return highestBidder;
	}
	public void setHighestBidder(int highestBidder) {
		this.highestBidder = highestBidder;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public byte[] getImage() {
		return image;
	}
	public void setImage(byte[] data) {
		this.image = data;
	}
	public ArrayList<Double> getBids() {
		return bids;
	}
	public void setBids(ArrayList<Double> bids) {
		this.bids = bids;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public int getBuyer() {
		return buyer;
	}
	public void setBuyer(int buyer) {
		this.buyer = buyer;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
}